<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/custom.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/accountAystem/addpage.css" />
    <link rel="stylesheet" href="../../../ht-css/accountAystem/projectMap/projectMapList.css">
    <title>账号创建</title>
    <style>

    </style>
    <!--地址添加样式-->
    <link rel="stylesheet" href="../../../ht-css/replaceAddress/addAddress.css">
    <title>账号创建</title>
</head>
<body data-id="579">
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页  <span class="c-gray en">&gt;</span>客户管理<span class="c-gray en">&gt;</span>客户组</nav>
<article class="page-container">
    <div id="tab_topnav" class="HuiTab">
        <div class="tabBar clearfix">
            <span id="ustomer-pool-tab" onclick="qiehuan(1)">客户池管理</span>
            <span onclick="qiehuan(2)">账号池管理</span>
            <span onclick="qiehuan(3)">账号关系管理</span>
            <span onclick="qiehuan(4)">账号关系表</span>
            <span id="project-map-tab" onclick="qiehuan(5)">项目映射</span>
        </div>
                <!--关联项目-->
                <div class="tabCon bk-gray bg-1" style="display: none;">
                    <div class="addpage-titname">客户信息展示
                        <span class="addpage-kename">
                            <span>客户组名称：</span><span id="mainCustomerName"></span>
                        </span>
                    </div>
                    <div class="addpage-line"></div>
                    <div class="lh-30 mb-10 ml-20 mt-20">
                        <table class="table_li mb-10 table">
                            <thead class="text-l">
                            <tr>
                                <td class="col-3-1">
                                    <div class="row">
                                        <label class="form-label f-l text-r lh-26 account-lft20">客户代码：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-180" id="customerCode"  placeholder="请输入客户代码" maxlength="20" autofocus="autofocus" onkeyup="value=value.replace(/[^\d^\.]+/g,'')" autocomplete="off">
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </div>
                                </td>
                                <td class="col-3-1">
                                    <div class="row">
                                        <label class="form-label f-l text-r w-80 lh-26">客户ID：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-180" id="customerId" placeholder="请输入客户ID" oninput="value=value.replace(/[\W]/g,'')" maxlength="20" autocomplete="off">
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </div>
                                </td>
                                <td class="col-3-1">
                                    <div class="row">
                                        <label class="form-label f-l text-r w-80 lh-26">客户名称：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-180" id="customerName2" oninput="checkMaxIut(this)"  placeholder="请输入客户名称"  autocomplete="off">
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td class="col-3-1">
                                    <div class="row">
                                        <label class="form-label f-l text-r w-80 lh-26 settlement-longin">客户归属：</label>
                                        <div class="formControls f-l">
                                            <input type="text" class="input-text radius ml-10 w-180" onclick="myFunction()" id="organization_name2" placeholder="请输入客户归属"  autocomplete="off">
                                            <ul class="relation radius guanlian kehus" id="tuankk" style="width:93%;z-index: 1">
                                                <li>无数据</li>
                                            </ul>
                                        </div>
                                        <span class="Validform_checktip"></span>
                                    </div>
                                </td>
                            </tr>
                            </thead>
                        </table>
                        <div class="text-c pb-20 pt-10">
                            <div class="text-c pb-20 pt-10">
                                <span class="addpage-query"><input  type="button" onclick="relateditems()" class="btn btn-secondary radius size-S " value="查询"></span>
                                <span class="addpage-query"> <input name="" type="reset" id="reset" class="btn radius size-S ml-10 " value="重&nbsp;&nbsp;置"></span>
                                <span class="addpage-query"> <input name="" type="button" id="addnewdtl" class="btn radius size-S ml-10 " onclick="customerjump('选择客户','select_customers.html')" value="新&nbsp;&nbsp;增"></span>
                            </div>
                        </div>
                        <table class="table table-border table-bg table-hover table-sort" id="relateditemstable">
                            <thead>
                            <tr class="text-c">
                                <th>序号</th>
                                <th>客户代码</th>
                                <th>客户ID</th>
                                <th>客户名称</th>
                                <th>客户归属</th>
                                <th>操作</th>
        
                            </tr>
                            </thead>
                            <tbody class="shun">
        
                            </tbody>
                        </table>
                        <div class="mt-40"></div>
                        <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                            <div class="f-r pageturning M-box3"></div>
                        </div>
                    </div>
                </div>
        <!--账号创建-->
        <div class="tabCon bk-gray bg-1" style="display: none;">
            <!--<div class="addpage-titname">账号创建</div>
            <div class="addpage-line"></div>-->
            <div class="lh-30 mb-10 ml-20 mt-20">
                <!--<table class="table_li mb-10 table">
                    <thead class="text-l">
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 account-loginacount w-251 "  id="loginAccount" placeholder="请输入账号名称"  maxlength="20" autocomplete="off">
                                </div>
                                <label onclick="accountcreation()" class="form-label f-l text-r lh-26 account-add">添加</label>

                            </div>
                        </td>
                    </tr>
                    </thead>
                </table>-->
                <div class="addpage-titname">账号信息展示</div>
                <div class="addpage-line"></div>
            </div>
            <div class="lh-30 mb-10 ml-20 mt-20">
                <table class="table_li mb-10 table">
                    <thead class="text-l">
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r lh-26 account-lft40">账号：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-180" id="accountloginaccount"  placeholder="请输入账号"  oninput="value=value.replace(/[\W]/g,'')" maxlength="20" autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">绑定手机号：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-180" id="accountmobilePhone" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" placeholder="请输入绑定手机号" maxlength="11" autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">使用人：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-180" id="accountemployUser"  placeholder="请输入使用人"  maxlength="20" autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="margin-left: -25px;" class="form-label f-l pt-5 text-r w-75">账号状态：</label>
                                <span class="select-box size-M radius col-xs-8 ml-10 w-180">
                                          <select class="select" name="brandclass" id="accountstatus" size="1">
                                            <option value="" selected>请选择账号状态</option>
                                            <option value="10">开启</option>
                                            <option value="20">关闭</option>
                                          </select>
                                      </span>
                            </div>
                                <span class="Validform_checktip"></span>

                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="margin-left: -25px;" class="form-label f-l text-r w-80 lh-26">对方账号：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-180" id="accountemployUser"  placeholder="请输入使用人"  maxlength="20" autocomplete="off">
                                </div>
                            </div>
                        </td>
                    </tr>
                    </thead>
                </table>
                <div class="text-c pb-20 pt-10">
                    <div class="text-c pb-20 pt-10">
                        <input type="button" class="btn btn-secondary radius size-S" value="导出" onclick="exportCustomerUser()">
                        <input  type="button" onclick="createanaccount('创建账号','createanaccount.html')" class="btn btn-secondary radius size-S " value="新增">
                        <span class="addpage-query ml-10"><input  type="button" onclick="accountquery()" class="btn btn-secondary radius size-S powerButton 582" value="查询"></span>
                        <input name="" type="reset" id="reset1" class="btn  radius size-S powerButton 582" value="重置">
                    </div>
                </div>

            <table class="table table-border table-bg table-hover table-sort"  id="accountdatatable">
                <thead>
                <tr class="text-c">
                    <th>账号</th>
                    <th>绑定手机号</th>
                    <th>使用人</th>
                    <th>邮箱</th>
                    <th>状态</th>
                    <th>创建时间</th>
                    <th>创建人</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody class="accountshun">

                </tbody>
            </table>
            <div class="mt-40"></div>
            <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                <div class="f-r pageturning M-box3"></div>
            </div>

            </div>
        </div>
        <!--账号关联-->
        <div class="tabCon bk-gray bg-1" style="display: none;">
            <div class="addpage-titname">项目名称</div>
            <div class="addpage-line"></div>
            <div class="addpage-kename">
                <span><i class="redicon">*</i>选择项目:</span>
                <span><input value="" style="width: 43%;" class="input-text radius ml-10 w-242 account-seach" onclick="selectitem()" oninput="selectitem()" id="selectitem" autocomplete="off">
                 <ul class="relation radius guanlian kehus" id="tuank2" style="width:43%;z-index: 1;margin-top: 159px;margin-left: 72px;max-height: 120px;">
                        <li>无数据</li>
                    </ul>
                </span>
            </div>
            <div class="crrelationbox">
                <div class="addpage-titname">账号关联</div>
                <div class="stablshing-correlation" style="cursor:pointer" onclick="establishingcorrelation()">建立关联</div>
            </div>
            <div class="addpage-line"></div>

            <div class="lh-30 mb-10 ml-20 mt-20">

                <div class="account-left" style=" position: relative;float: left;">
                    <input type="text"  onclick="myFunctionaa()" oninput="myFunctionaa()" id="organization_name" class="input-text radius ml-10 w-242 account-seach" placeholder="请选择账号" autocomplete="off">
                    <ul class="relation radius kehus" id="tuankd"  style="overflow-y: auto;height: 468px; width: 242px; margin: 7px 9px; position: absolute;">
                    <li>无数据</li>
                </ul>
                </div>

                <div class="account-right">
                    <div class="stance"></div>
                    <div class="accountrightbox">
                        <div class="rightone">
                            <span class="rightleftbtn-one">
                                <div class="add-one" style="cursor:pointer" onclick="orderaccountadd(1)" id="adds"><span>添加</span><i class="addhightimg"></i></div>
                                 <div class="delete-one" style="cursor:pointer" onclick="orderaccountdelete(1)" id="deletes"><span>删除</span><i class="deletreadimg"></i></div>
                            </span>
                            <div class="rightright-one">
                                <p class="righttitle-one">下单账号</p>
                                <div class="rightcont-one">
                                    <div class="right-onecount" id="orderaccountadd"></div>
                                    <div class="right-onecount"></div>
                                    <div class="right-onecount"></div>
                                </div>
                            </div>
                        </div>
                        <div class="rightone">
                            <span class="rightleftbtn-two">
                                <div class="add-one" style="cursor:pointer"  onclick="orderaccountadd(2)" id="adds2"><span>添加</span><i class="addhightimg"></i></div>
                                 <div class="delete-one" style="cursor:pointer" onclick="orderaccountdelete(2)" id="deletes2"><span>删除</span><i class="deletreadimg"></i></div>
                            </span>
                            <div class="rightright-one">
                                <p class="righttitle-one">审批账号</p>
                                <div class="rightcont-two">
                                   <div class="header-approval">
                                       <span class="approval-name">审批账号</span>
                                       <!-- <span class="approval-order">依次审批  <input class="checkbox" onclick="xuanzhonga()" type="radio"  name="scene"></span>
                                       <span class="approval-order">或签  <input class="checkbox" onclick="xuanzhonga()" type="radio"  name="scene"></span> -->

                                       <span class="approval-order">依次审批  <input class="checkbox" onclick="xuanzhonga()" type="radio" id="civil" name="scene"></span>
                                       <span class="approval-isno">或签  <input class="checkbox" type="radio" onclick="huoqianfn()"  id="huoqian" name="scene"></span>
                                   </div>
                                    <ul class="approvalaccounts" id="menu">
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="rightone">
                            <span class="rightleftbtn-one">
                                <div class="add-one" style="cursor:pointer"  onclick="orderaccountadd(3)" id="adds3"><span>添加</span><i class="addhightimg"></i></div>
                                 <div class="delete-one" style="cursor:pointer" onclick="orderaccountdelete(3)" id="deletes3"><span>删除</span><i class="deletreadimg"></i></div>
                            </span>
                            <div class="rightright-one">
                                <span class="righttitle-one">结算账号</span>
                                <input type="radio" class="webselment webselmentq" value="0" checked name="scen"> 前台结算
                                <input type="radio" class="webselment" value="1" name="scen">后台结算
                                <div class="rightcont-one">
                                    <div class="right-onecount" id="settlementaccount"></div>
                                    <div class="right-onecount"></div>
                                    <div class="right-onecount"></div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
        <!--账号关系表-->
        <div class="tabCon bk-gray bg-1" style="display:block ;">
            <div class="addpage-titname">账号关系表</div>
            <div class="addpage-line"></div>
            <div class="lh-30 mb-10 ml-20 mt-20">
                <table class="table_li mb-10 table">
                    <thead class="text-l">
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r lh-26 account-lft20">项目名称：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-180" id="customerName" oninput="checkMaxIut(this)"  placeholder="请输入项目名称" >
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">下单账号：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-180" id="orderAccount" placeholder="请输入下单账号"oninput="value=value.replace(/[\W]/g,'')" maxlength="20" autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">审批账号：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-180" id="athorAccount"  placeholder="请输入审批账号"  oninput="value=value.replace(/[\W]/g,'')" maxlength="20" autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26 settlement-longin">结算账号：</label>
                                <div class="formControls f-l">
                                    <input type="text" class="input-text radius ml-10 w-180" id="settlementAccount2"  placeholder="请输入结算账号"  oninput="value=value.replace(/[\W]/g,'')" maxlength="20" autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                    </tr>
                    </thead>
                </table>
                <div class="text-c pb-20 pt-10">
                    <div class="text-c pb-20 pt-10">
                        <input type="button" class="btn btn-secondary radius size-S" value="导出" onclick="exportAccountRelations()">
                        <span class="addpage-query"><input  type="button" onclick="accountrelationship()" class="btn btn-secondary radius size-S " value="查询"></span>
                        <input name="" type="reset" id="reset2" class="btn  radius size-S" value="重置">
                    </div>
                </div>
                <table class="table table-border table-bg table-hover table-sort" >
                    <thead>
                    <tr class="text-c">
                        <th style="width: 13%;">项目名称</th>
                        <th style="width: 10%;">下单账号</th>
                        <th style="width: 5%;">下单使用人</th>
                        <th style="width: 10%;">审批账号</th>
                        <th style="width: 5%;">审批使用人</th>
                        <th style="width: 5%;">是否或签</th>
                        <th style="width: 5%;">是否排序</th>
                        <th style="width: 5%;">是否必须审批</th>
                        <th style="width: 16%;">是否条件审批</th>
                      
                        <th style="width: 10%;">结算账号</th>
                        <th style="width: 7%;">结算使用人</th>
                        <th style="width: 10%;">操作</th>
                    </tr>
                    </thead>
                    <tbody class="addpage-tbody">

                    </tbody>
                </table>
                <div class="level1-box" style=" height: 391px; width: 1560px;overflow-y:auto;overflow-x:hidden;">

                </div>

            </div>
        </div>

        <!--项目映射-->
        <div class="tabCon bk-gray bg-1" style="display: none;min-height: 800px;">
            <div class="project-title">项目映射</div>
            <div class="addpage-line"></div>
            <div class="project_map_content">
                
            <table class="table_li mb-10 table">
            <thead class="text-l">
                <tr>
                    <td class="col-3-1">
                        <div class="row">
                            <label class="form-label">我司客户编码：</label>
                            <div class="formControls">
                                <input type="text" class="input-text" id="crmCustomerCode">
                            </div>
                        </div>
                    </td>
                    <td class="col-3-1">
                        <div class="row">
                            <label class="form-label">我司客户名称：</label>
                            <div class="formControls">
                                <input type="text" class="input-text" id="crmCustomeName">
                            </div>
                            <span class="Validform_checktip"></span>
                        </div>
                    </td>
                    <td class="col-3-1">
                        <div class="row">
                            <label class="form-label">我司客户ID：</label>
                            <div class="formControls">
                                <input type="text" class="input-text" id="crmCustomerId">
                            </div>
                            <span class="Validform_checktip"></span>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="col-3-1">
                        <div class="row">
                            <label class="form-label">对方项目编码：</label>
                            <div class="formControls">
                                <input type="text" class="input-text" id="projectCode">
                            </div>
                        </div>
                    </td>
                    <td class="col-3-1">
                        <div class="row">
                            <label class="form-label">对方项目名称：</label>
                            <div class="formControls">
                                <input type="text" class="input-text" id="projectName">
                            </div>
                            <span class="Validform_checktip"></span>
                        </div>
                    </td>
                    <td class="col-3-1">
                        <div class="row">
                            <label class="form-label">映射状态：</label>
                            <div class="formControls">
                                    <select class="select" id="mappingStatus">
                                        <option value="">全部</option>
                                        <option value="0">未映射</option>
                                        <option value="1">已映射</option>
                                    </select>
                            </div>
                        </div>
                    </td>
                </tr>
            </thead>
            </table>
        <div class="btn_group">
            <div class="btn-left">
                <input type="button" class="btn btn-secondary radius size-S" value="导出客户/项目" onclick="exportProjectsMappingExcel()">
                <input type="button" class="btn btn-secondary radius size-S" value="下载excle模板" onclick="templateProjectsMappingExcel()">
                <input type="button" class="btn btn-secondary radius size-S" value="导入" onclick="javascript:document.getElementById('file').click();">
                <input type="file" name="file" id="file" style="display: none;" onchange="importProjectsMappingExcel()">
                <a href="javascript:0;" onclick="exportProjectsMappingErrorExcel()">失败信息导出</a>
            </div>
            <div class="btn-right">
                <input name="" type="button" onclick="createanaccount('项目映射新增','../accountAystem/projectMap/projectMapAdd.html')"
                    class="btn btn-secondary radius size-S" value="新增">
                <input name="" type="reset" id="reset2" class="btn radius size-S" onclick="projectMapReset()" value="重置">
                <input name="" type="button" id="reset2" class="btn btn-secondary radius size-S" onclick="projectMapPageList()" value="查询">
            </div>
        </div>
        <table class="table table-border table-bg table-hover" id="projectMapDataTable">
            <thead>
                <tr class="text-c">
                    <th style="width: 5%;">序号</th>
                    <th style="width: 5%;">我司客户ID</th>
                    <th style="width: 10%;">我司CRM客户编码</th>
                    <th style="width: 10%;">我司客户名称</th>
                    <th style="width: 10%;">我司客户归属公司</th>
                    <th style="width: 5%;">对方项目编码</th>
                    <th style="width: 10%;">对方项目名称</th>
                    <th style="width: 5%;">状态</th>
                    <th style="width: 16%;">操作</th>
                </tr>
            </thead>
            <tbody class="project-Map-tbody">

            </tbody>
        </table>
        <div class="mt-40"></div>
        <div class="dataTables_wrapper goods_fanye clearfix mt-5">
            <div class="f-r pageturning M-box3-project-Map"></div>
        </div>

            </div>
        </div>
    </div>





</article>
<div style="text-align: center;;margin-top: 22px;">鑫方盛电子商务股份有限公司提供支持</div>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
<!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
<!--<script src="../../ht-js/Project.js?rev=@@hash"></script>-->
<!--引入分页-->
<link rel="stylesheet" href="../../../lib/pagination/pagination.css">
<script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<script src="../../../ht-js/Customer/accountAystem/account.js?rev=@@hash"></script>
<!--权限控制-->
<script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../ht-js/Customer/accountAystem/projectMap/projectMapList.js"></script>
<script>
    relateditems();
    $('#reset').click(function(){
        $("#customerCode").val("")
        $("#customerId").val("")
        $("#customerName2").val("")
        $("#organization_name2").text("")
        $("#organization_name2").val("")
    })
    $('#reset2').click(function(){
        $("#customerName").val("")
        $("#orderAccount").val("")
        $("#athorAccount").val("")
        $("#settlementAccount2").val("")
    })
    $('#reset1').click(function(){
        $("#accountloginaccount").val("")
        $("#accountmobilePhone").val("")
        $("#accountemployUser").val("")
        $("#accountstatus").val("")
    })
    jQuery.Huitab =function(tabBar,tabCon,class_name,tabEvent,i){
        var $tab_menu=$(tabBar);
        // 初始化操作
        $tab_menu.removeClass(class_name);
        $(tabBar).eq(i).addClass(class_name);
        $(tabCon).hide();
        $(tabCon).eq(i).show();

        $tab_menu.bind(tabEvent,function(){
            $tab_menu.removeClass(class_name);
            $(this).addClass(class_name);
            var index=$tab_menu.index(this);
            $(tabCon).hide();
            $(tabCon).eq(index).show()
            if (!$(".tabBar span:eq(0)").hasClass("current")){
                $("#modal-company").hide()
            }
        })
    console.log("3213213213");
    }

    $(function(){
        $.Huitab("#tab_topnav .tabBar span","#tab_topnav .tabCon","current","click","0")});


    function chaxun() {
        $.Huitab("#tab_topnav .tabBar span","#tab_topnav .tabCon","current","click","3")
        accountrelationship()
    }
    function accountquerys() {
        accountquery()
    }

    function qiehuan(val){
        if(val==1){
            $.Huitab("#tab_topnav .tabBar span","#tab_topnav .tabCon","current","click","0")
            relateditems()
        }else if(val==2){
            $.Huitab("#tab_topnav .tabBar span","#tab_topnav .tabCon","current","click","1")
            myFunctionaa()
            accountquery()
        }else if(val==3){
            $.Huitab("#tab_topnav .tabBar span","#tab_topnav .tabCon","current","click","2")
            accountquery()
        }else if(val==4){
            $.Huitab("#tab_topnav .tabBar span","#tab_topnav .tabCon","current","click","3")
            accountrelationship()
        }else if(val==5){
            $.Huitab("#tab_topnav .tabBar span","#tab_topnav .tabCon","current","click","4");
            projectMapPageList();
        }
    }
    function conter() {
        relateditems()
    }
</script>
</body>
</html>